<?php
/**
 * Created by PhpStorm.
 * User: geyouwen
 * Date: 17/2/6
 * Time: 下午1:09
 */

namespace App\Model\Dao;


use Illuminate\Database\Eloquent\Model;

class BaseDao extends Model
{
    protected $connection = 'mysql';
    protected $prefix = 'vape_';

    public function getAll()
    {
//        return  $this->get()->take(2);
        return self::find(15);
    }

}